package com.opennews.openplatform

class AccountGroupUser {
    String id
    AccountGroup accountGroup
    User user
    boolean isAccountGroupCreator = false		// True value for the account group registered user ONLY. False value for all the others.

    static constraints = {
        accountGroup nullable: false
        user nullable: false, unique: "accountGroup"
    }

    static mapping = {
        version false
    }
}